import { Boolean, Code, Cover, CreateDate, Digdit, Entity, Jsonb, Price, PrimaryUuid, Title, UpdateDate, Uuid } from "@sker/core";

@Entity({ name: 'kd_trans_comp' })
export class KdTransComp {
    @PrimaryUuid()
    id: string;

    @Title({ comment: '快递公司名称' })
    title: string;

    @Code({ comment: '商户号' })
    code: string;

    @Cover({ comment: '公司标志' })
    logo: string;

    @Code({ comment: '结算方式' })
    type: string;

    @Price({ comment: '价格', default: 0, nullable: true })
    price: number;

    @Digdit({ comment: '数量', default: 0, nullable: true })
    count: number;

    @Price({ comment: '递减', default: 0, nullable: true })
    dec: number;

    @CreateDate()
    create_date: Date;

    @UpdateDate()
    udpate_date: Date;

}